import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../views/HomeView.vue')
  },
  {
    path: '/Upload',
    name: 'Upload',
    component: () => import('../views/Upload.vue')
  },
  {
    path: '/Report',
    name: 'Report',
    component: () => import('../views/Report.vue')
  },
  {
    path: '/Type1',
    name: 'Type1',
    component: () => import('../views/Type1.vue')
  },
  {
    path: '/Type2',
    name: 'Type2',
    component: () => import('../views/Type2.vue')
  },
]

const router = new VueRouter({
  mode:"history",
  routes
})

export default router
